projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1bfdda
)
Fix scroll_offset handling
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 23 Dec 2011 04:45:28 +0000
(
04:45
+0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 23 Dec 2011 05:36:20 +0000
(
00:36
-0500)
scroll_offset can be negative here, so replace a > 0 test
by != 0.
gtk/gtkmenu.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmenu.c
b/gtk/gtkmenu.c
index 652aa9a1a5cd1f7bf4b7c686b3585575bacba4f3..ac98589367ee642ac17d6e2ae0cfe1f51068d2f2 100644
(file)
--- a/
gtk/gtkmenu.c
+++ b/
gtk/gtkmenu.c
@@
-4807,7
+4807,7
@@
gtk_menu_position (GtkMenu *menu,
priv->position_y = y;
}
- if (scroll_offset
>
0)
+ if (scroll_offset
!=
0)
{
GtkBorder arrow_border;